package com.zzj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 * 医院
 * </p>
 *
 * @author zzj
 * @since 2023-05-12
 */
@TableName("picc_hospital")
public class Hospital implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 医院名
     */
    private String hospital;

    private String logo;

    /**
     * 地址
     */
    private String address;

    /**
     * 类别
     */
    private String type;

    /**
     * 性质
     */
    private String property;

    /**
     * 规模
     */
    private String scale;

    /**
     * 等级
     */
    private String level;

    /**
     * 创办年份
     */
    private String establishYear;

    /**
     * 描述
     */
    private String description;

    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    
       @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    private Integer likeCount;

    /**
     * 0未点赞 1点赞
     */
    private Integer isLike;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getEstablishYear() {
        return establishYear;
    }

    public void setEstablishYear(String establishYear) {
        this.establishYear = establishYear;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getIsLike() {
        return isLike;
    }

    public void setIsLike(Integer isLike) {
        this.isLike = isLike;
    }

    @Override
    public String toString() {
        return "Hospital{" +
                "id = " + id +
                ", hospital = " + hospital +
                ", logo = " + logo +
                ", address = " + address +
                ", type = " + type +
                ", property = " + property +
                ", scale = " + scale +
                ", level = " + level +
                ", establishYear = " + establishYear +
                ", description = " + description +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", likeCount = " + likeCount +
                ", isLike = " + isLike +
                "}";
    }
}
